package com.tim.app.constant;

public class AppKey {

    /**
     * 网络请求日志标签
     */
    public static final String HTTP_TAG = "http";
    public static final String HTTP_CACHE_TAG = "http_cache";

    public static final String WEB_URL = "web_url";
    public static final String WEB_TITLE = "title";//标题

    public static final String IMAGE_PICK_PATH = "image_pick_path"; //图片路径
    public static final int CODE_CANCEL = 1;//取消选择图片

    public static final String SEARCH_FROM = "search_from";//搜索来源
    public static final String SEARCH_CONTENT = "search_content";//搜索内容

    public static final int SEARCH_TYPE_ALL = 1;//全部
    public static final int SEARCH_TYPE_USER = 2;//用户
    public static final int SEARCH_TYPE_SUBJECT = 3;//话题

    public static final String SEARCH_ANSWER = "answer";//回答
    public static final String SEARCH_USER = "user";//用户
    public static final String SEARCH_TOPIC = "topic";//话题
    public static final String SEARCH_PUBLISH = "publish";//文章
    public static final String SEARCH_PROBLEM = "problem";//问题

    public static final String THIRD_PLATFORM = "third_platform";
    public static final int LOGIN_TYPE_MOBILE = 0;//手机登录
    public static final int LOGIN_TYPE_QQ = 1;//QQ登录
    public static final int LOGIN_TYPE_WX = 4;//微信登录
    public static final int LOGIN_TYPE_SINA = 3;//微博登录
    public static final int AUTH_FIRST = 1;
    public static final int AUTH_FIRST_NO = 0;//不是初次授权

    public static final String SERACH_KEYWORD = "keyword";//关键字

    public static final int SEX_MAN = 1;
    public static final int SEX_WOMAN = 2;

    public static final int CODE_LOGIN_REGISTER = 103;
    public static final int CODE_LOGIN_FINDPWD = 104;
    public static final int CODE_LOGIN_BIND_MOBILE = 105;//绑定手机号

    public static final int TYPE_BING_MOBILE = 1;//绑定手机号
    public static final int TYPE_FIND_WORD = 2;//重置密码

    //    0注册功能 验证用户是否注册过
    //    1 重置密码 验证用户是否注册过
    //    2 绑定第三方 是否绑定
    public static final int VERTIFY_REGISTER = 0;
    public static final int VERTIFY_RESETPASSWORD = 1;
    public static final int VERTIFY_BINDMOBILE = 2;

    public static final int TYPE_MOBILE_REGIST = 0;//手机注册
    public static final int TYPE_THIRD_REGIST = 1;//第三方注册

    public static final int VERTIFY_SECONDS = 60;//验证码倒数秒数

    public static final String PROBLEM = "problem";//问题
    public static final String ANSWER = "answer";//回答
    public static final String IS_FROM_PUSH = "is_from_push";
    public static final String TOPIC = "subjectInfo";//话题
    public static final String ARTICLE = "article";//文章
    public static final String STORY = "story";//故事
    public static final String PROBLEM_ID = "problemId";//问题的id

    public static final int ORDER_BY_REVERSE = 2;//创建时间倒序排
    public static final int ORDER_BY_SEQUENCE = 3;//创建时间顺序排

    public static final int PROBLEM_TYPE_RECOMMAND = 0;//推荐
    public static final int PROBLEM_TYPE_NEWEST = 1;//最新
    public static final int PROBLEM_TYPE_HOT = 2;//热门
    public static final int PROBLEM_TYPE_BE_INVIED = 3;//邀请

    public static final int PAGE_SIZE = 10;

    public static final int IMAGE_SIZE = 9;
    public static final String ADD_PIC = "moliAdd";

    public static final String IS_ANSWER = "is_answer";//是否是回答
    public static final String QUESTION_TITLE = "question_title";//问题title
    public static final String QUESTION_CONTENT = "question_content";//问题title
    public static final String QUESTION_HEAD_IMAGE = "question_head_image";//问题的头图
    public static final String QUESTION_ID = "question_id";//问题的id
    public static final String IS_ANONYMOUS = "isAnonymous";//是否匿名

    public static final String USER = "user";//用户

    public static final int DYNAMIC_TYPE_ALL = 0;//全网动态
    public static final int DYNAMIC_TYPE_FOLLOWER = 1;//关注的人动态
    public static final int DYNAMIC_TYPE_SOMEONE = 2;//某人的

    public static final String TYPE_PROBLEM = "problem";//问题
    public static final String TYPE_ANSWER = "answer";//回答
    public static final String TYPE_TOPIC = "topic";//话题
    public static final String TYPE_USER = "user";//用户
    public static final String TYPE_COMMENT = "comment";//评论
    public static final String TYPE_REPLY = "reply";//回复
    public static final String TYPE_ARTICLE = "publish";//文章
    public static final String TYPE_STORY = "story";//故事
    public static final String TYPE_FAVORITES = "favorites";//收藏
    public static final String TYPE_DYNAMIC = "dynamic";//动态
    public static final String TYPE_GOOD_AT = "adept_topic";//擅长

    public static final int IS_SORT = 1;//排序
    public static final int NO_SORT = 0;//无序

    public static final String AGREE = "agree";//点赞 /赞同
    public static final String OPPOSE = "oppose";//反对
    public static final String NO_HELP = "nohelp";//

    public static final int INVITE_TYPE_RECOMMAND = 1;//邀请推荐
    public static final int INVITE_TYPE_FRIEND = 2;//邀请好友

    public static final int FAVORITER_ID = 1;//默认收藏夹的ID

    public static final int TYPE_FOLLOW = 0;//关注
    public static final int TYPE_FRIEND = 1;//好友
    public static final int TYPE_FANS = 2;//粉丝

    public static final int RELATIONSHIP_TYPE_FRIEND = 1;//好友关系
    public static final int RELATIONSHIP_TYPE_FOLLOW = 0;//关注
    public static final int RELATIONSHIP_TYPE_NORMAL = 2;//没关系
    public static final int RELATIONSHIP_TYPE_BLACK = 3;//黑名单

    public static final int REQUEST_CODE_PROBLEM_TILTE = 0x10;//标题
    public static final int REQUEST_CODE_PROBLEM_CONTENT = 0x11;//内容
    public static final int REQUEST_CODE_PROBLEM_ANSWER = 0x12;//回答

    public static final int AD_TYPE_SPLASH = 1;//开屏广告
    public static final int AD_TYPE_BANNER = 2;//banner广告

    public static final int USER_TYPE_FOLLOW = 1;//关注的人
    public static final int USER_TYPE_FANS = 2;//关注的人

    public static final int RADIUS = 5;//高斯模糊取值1-25  值越大越模糊
    public static final int DETIAL_RADIUS = 18;//高斯模糊取值1-25  值越大越模糊

    public static final String SEPARATOR = "#";

    public static final String NOTICE_TYPE_COMMENT = "comment";//评论
    public static final String NOTICE_TYPE_AGREE = "agree";//赞
    public static final String NOTICE_TYPE_FANS = "concern";//粉丝
    public static final String NOTICE_TYPE_ANSWER = "answer";//回答
    public static final String NOTICE_TYPE_INVITIE = "invitation";//邀请

    public static final int CLICK_REPEAT_TIME = 300;//重复点击的时间间隔

}


